package com.bto.solar.work.dto;

import com.bto.solar.work.vo.UserVO;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@NoArgsConstructor
@Accessors(chain = true)
@Data
public class ApiLoginRes {
    @JsonProperty("uid")
    private Integer userId;
    @JsonProperty("access_token")
    private String accessToken;
    @JsonProperty("refresh_token")
    private String refreshToken;
    @JsonProperty("token_type")
    private String tokenType;
    @JsonProperty("expires_in")
    private Long expiresIn;
    @JsonProperty("userVo")
    private UserVO userVO;
}
